package com.winning.vsts.merge.service.configuration;

import org.springframework.cloud.context.named.NamedContextFactory;

/**
 * vsts 配置信息
 *
 * @author xcl <xcl@winning.com.cn>
 * @date 2021/11/17
 */
public class VstsSpecification implements NamedContextFactory.Specification {

    private String name;

    private Class<?>[] configuration;

    public VstsSpecification(String name, Class<?>[] configuration) {
        this.name = name;
        this.configuration = configuration;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public Class<?>[] getConfiguration() {
        return configuration;
    }
}
